package cn.lxh.basic.service;


import cn.lxh.basic.query.BaseQuery;
import cn.lxh.basic.utils.PageList;
import org.springframework.context.annotation.Primary;

import java.util.List;


public interface IBaseServiece<T> {
    List<T> queryAll();
    T queryById(Long id);
    void save(T t);
    void update(T t);
    void delete(Long id);
    /**
     * 分页 + 高级
     */
    PageList queryList(BaseQuery tQuery);

    void batchReove(Long[] ids);

}
